Skip to main content

Base64

The Base64 Module for the computer API!


Functions

encode

sm.scrapcomputers.base64.encode( data )

Converts a string to be Base64 encoded.

Arguments:

  • data [ string ] The data to be converted.

Returns:

  • [ string ] The encoded data.

decode

sm.scrapcomputers.base64.decode( data )

Decodes a base64 string.

Arguments:

  • data [ string ] The data to be decoded.

Returns:

  • [ string ] The decoded data.